package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Image entity. @author MyEclipse Persistence Tools
 */

public class Image implements java.io.Serializable {

	// Fields

	private Integer imageID;
	private byte[] image;
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Image() {
	}

        public Image(byte[] image) {
		this.image = image;
	}

	/** minimal constructor */
	public Image(Integer imageId, byte[] image) {
		this.imageID = imageId;
		this.image = image;
	}

	/** full constructor */
	public Image(Integer imageId, byte[] image, Set users) {
		this.imageID = imageId;
		this.image = image;
		this.users = users;
	}

	// Property accessors

	public Integer getImageID() {
		return this.imageID;
	}

	public void setImageID(Integer imageId) {
		this.imageID = imageId;
	}

	public byte[] getImage() {
		return this.image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}